et.Entity.prototype.DomainZone = function (): number {
    return this.Domain?.Zone ?? 0;
}
et.Entity.prototype.DomainScene = function (): et.Scene {
    return this.Domain as et.Scene;
}
declare namespace et {
    interface Entity {
        DomainZone(): number;
        DomainScene(): Scene;
    }
}